package com.njtech.pet.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lxj
 * Date:2020-03-09 10:55
 * Description: 宠物类
 */
public class Pet implements Serializable{
    public Integer id;
    public String name;
    public String species;
    public Date birthday;
    public String lisence;
    public String immune;
    public String color;
    public String sex;
    public String birthControl;
    public String chip;
    public Date createDate;
    public Date updateDate;
    public User user;
    public String state;
    public String remark;

    public Pet() {
    }

    public Pet(Integer id, String name, String species, Date birthday, String lisence, String immune, String color, String sex, String birthControl, String chip, Date createDate, Date updateDate, User user, String state, String remark) {
        this.id = id;
        this.name = name;
        this.species = species;
        this.birthday = birthday;
        this.lisence = lisence;
        this.immune = immune;
        this.color = color;
        this.sex = sex;
        this.birthControl = birthControl;
        this.chip = chip;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.user = user;
        this.state = state;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Pet{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", species='" + species + '\'' +
                ", birthday=" + birthday +
                ", lisence='" + lisence + '\'' +
                ", immune='" + immune + '\'' +
                ", color='" + color + '\'' +
                ", sex='" + sex + '\'' +
                ", birthControl='" + birthControl + '\'' +
                ", chip='" + chip + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", user=" + user +
                ", state='" + state + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpecies() {
        return species;
    }

    public void setSpecies(String species) {
        this.species = species;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getLisence() {
        return lisence;
    }

    public void setLisence(String lisence) {
        this.lisence = lisence;
    }

    public String getImmune() {
        return immune;
    }

    public void setImmune(String immune) {
        this.immune = immune;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthControl() {
        return birthControl;
    }

    public void setBirthControl(String birthControl) {
        this.birthControl = birthControl;
    }

    public String getChip() {
        return chip;
    }

    public void setChip(String chip) {
        this.chip = chip;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
